<?php

/**
 * reales form.
 *
 * @package    plagas
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class realesForm extends BaserealesForm
{
  public function configure()
  {
     $this->widgetSchema['valor'] = new sfWidgetFormInputHidden();
     $this->widgetSchema['indicador_id'] = new sfWidgetFormInputHidden();

//     if ($this->getObject() != null)
//     {
//        $this->widgetSchema['indicador_id'] = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('indicador'), 'add_empty' => false, 'default' => $this->getObject()->getIndicadorId()));
//     }
  }
}
